/**
 * 
 */
package org.codesketch.collector.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Quirno Brizi
 *
 */
@Document
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Record {
	@XmlElement
	private String uuid;
	@XmlElement
	private String effectiveUrl;
	@XmlElement
	private Double latency;
	@XmlElement
	private Double startTransferTime;
	@XmlElement
	private Double preTransferTime;
	@XmlElement
	private Double connectTime;
	@XmlElement
	private Double nameLookupTIme;
	@XmlElement
	private Double redirectTime;
	@XmlElement
	private Integer numOfRedirect;
	@XmlElement
	private Integer responseCode;
	
	/**
	 * @return the uuid
	 */
	public String getUuid() {
		return uuid;
	}
	/**
	 * @param uuid the uuid to set
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	/**
	 * @return the effectiveUrl
	 */
	public String getEffectiveUrl() {
		return effectiveUrl;
	}
	/**
	 * @param effectiveUrl the effectiveUrl to set
	 */
	public void setEffectiveUrl(String effectiveUrl) {
		this.effectiveUrl = effectiveUrl;
	}
	/**
	 * @return the latency
	 */
	public Double getLatency() {
		return latency;
	}
	/**
	 * @param latency the latency to set
	 */
	public void setLatency(Double latency) {
		this.latency = latency;
	}
	/**
	 * @return the startTransferTime
	 */
	public Double getStartTransferTime() {
		return startTransferTime;
	}
	/**
	 * @param startTransferTime the startTransferTime to set
	 */
	public void setStartTransferTime(Double startTransferTime) {
		this.startTransferTime = startTransferTime;
	}
	/**
	 * @return the preTransferTime
	 */
	public Double getPreTransferTime() {
		return preTransferTime;
	}
	/**
	 * @param preTransferTime the preTransferTime to set
	 */
	public void setPreTransferTime(Double preTransferTime) {
		this.preTransferTime = preTransferTime;
	}
	/**
	 * @return the connectTime
	 */
	public Double getConnectTime() {
		return connectTime;
	}
	/**
	 * @param connectTime the connectTime to set
	 */
	public void setConnectTime(Double connectTime) {
		this.connectTime = connectTime;
	}
	/**
	 * @return the nameLookupTIme
	 */
	public Double getNameLookupTIme() {
		return nameLookupTIme;
	}
	/**
	 * @param nameLookupTIme the nameLookupTIme to set
	 */
	public void setNameLookupTIme(Double nameLookupTIme) {
		this.nameLookupTIme = nameLookupTIme;
	}
	/**
	 * @return the redirectTime
	 */
	public Double getRedirectTime() {
		return redirectTime;
	}
	/**
	 * @param redirectTime the redirectTime to set
	 */
	public void setRedirectTime(Double redirectTime) {
		this.redirectTime = redirectTime;
	}
	/**
	 * @return the numOfRedirect
	 */
	public Integer getNumOfRedirect() {
		return numOfRedirect;
	}
	/**
	 * @param numOfRedirect the numOfRedirect to set
	 */
	public void setNumOfRedirect(Integer numOfRedirect) {
		this.numOfRedirect = numOfRedirect;
	}
	/**
	 * @return the responseCode
	 */
	public Integer getResponseCode() {
		return responseCode;
	}
	/**
	 * @param responseCode the responseCode to set
	 */
	public void setResponseCode(Integer responseCode) {
		this.responseCode = responseCode;
	}
}
